package com.shelpe.service.simbaproxy.taobao;

import java.util.concurrent.ConcurrentHashMap;

public class TaobaoDataPool extends ConcurrentHashMap<String, String>{
    
	private static TaobaoDataPool poolInstance = new TaobaoDataPool();
	
	private TaobaoDataPool(){
		
	}
	
	public static TaobaoDataPool getInstance(){
		return poolInstance;
	}
	
	public void set(String key, String value){
		if(value != null){
			put(key, value);
		}else{
			remove(key);
		}
	}
	
	
}
